﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TestAtribute.Attributes
{
    [AttributeUsage(AttributeTargets.Class |
        AttributeTargets.Field |
        AttributeTargets.Property,
        AllowMultiple = true)]
    public class ControlTypeAttribute: Attribute
    {
        public Types Type { get; set; }

        public enum Types
        {
            Text,
            Datepicker,
            FileUpload,
            Dropdownlist,
            CheckBox,
            RadioButton
        }
    }
}
